package com.springboot.study.third;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @program: study
 * @description: 自定义ImportSelector
 * @author: chengqj
 * @create: 2019-07-09 09:37
 **/
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{ImportSelectorService.class.getName()};
    }
}
